package com.oasystem.domain;

import java.sql.Date;

public class Department {
	private int id;
	private String departmentName;
	private String description;
	private Date createDate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public void copy(Department department) {
		this.createDate = department.getCreateDate();
		this.departmentName = department.getDepartmentName();
		this.description = department.getDescription();
		this.id = department.getId();
	}
}
